﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="OrderEdit.aspx.cs"
    Inherits="MedicWeb.forms.Editors.OrderEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <style type="text/css">
        #form1
        {
            width: 850px;
        }
    </style>
</head>
<body style="width: 850px; height: 274px">
    <form id="form1" runat="server">
    <asp:Panel ID="OrderEditPanel" runat="server" HorizontalAlign="Left" 
        style="text-align: center">
        <table>
            <tr>
                <td align="left" valign="top" rowspan="3">
                    <asp:HyperLink runat="server" ID="editOrder" CssClass="edit" ClientIDMode="Static"/>
                </td>
                <td align="left" rowspan="3" valign="top">
                    <asp:Panel ID='printMenu' runat="server" CssClass="print" />
                </td>
                <td align="right">
                    Номер
                </td>
                <td align="left">
                    &nbsp;<asp:TextBox ID="tfOrderNumber" runat="server" CssClass="nullable"></asp:TextBox>
                </td>
                <td align="right" class="style2">
                    Дата
                </td>
                <td class="style2" align="left">
                    <asp:TextBox ID="tfOrderDate" runat="server" CssClass="date"></asp:TextBox>
                </td>
                <td align="right">
                    &nbsp;Приказ утвержден</td>
                <td align="left">
                    <asp:DropDownList ID="comboClosed" runat="server">
                        <asp:ListItem Value="0">Нет</asp:ListItem>
                        <asp:ListItem Value="1">Да</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    Номер протокола</td>
                <td align="left"><asp:TextBox CssClass="nullable" ID="tfProtocolNumber" runat="server"></asp:TextBox>
                    
                </td>
                <td align="right" class="style2">
                    Дата протокола</td>
                <td align="left" class="style2">
                    <asp:TextBox ID="tfProtocolDate" runat="server" CssClass="nullable date"></asp:TextBox>
                </td>
                <td align="right">
                    &nbsp;</td>
                <td align="left">
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right">
                    &nbsp;</td>
                <td align="left">
                    <asp:DropDownList ID="comboTemplate" runat="server" CssClass="nullable" 
                        Enabled="False" Visible="False">
                    </asp:DropDownList>
                </td>
                <td align="right">
                    Содержание
                </td>
                <td colspan="3">
                    <asp:TextBox ID="tfOrderContent" runat="server" Width="98%"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Label ID="LabelBase" runat="server" Text="Общая база врачей"></asp:Label>
        <br />
        <asp:Table CssClass="table1 filtered2 bordered" ID="TableDoctors" runat="server" Width="100%"
            ClientIDMode="Static">
            <asp:TableHeaderRow>
                <asp:TableHeaderCell></asp:TableHeaderCell>
                <asp:TableHeaderCell></asp:TableHeaderCell>
                <asp:TableHeaderCell>Фамилия Имя Отчество</asp:TableHeaderCell>
                <asp:TableHeaderCell>Должность</asp:TableHeaderCell>
                <asp:TableHeaderCell>Место работы</asp:TableHeaderCell>
            </asp:TableHeaderRow>
        </asp:Table>
        <table style="width: 100%;">
            <tr>
                <td align="right">
                    &nbsp;
                </td>
                <td align="left">
                    &nbsp;
                </td>
            </tr>
        </table>
        Врачи в приказе
        <br />
        <asp:Table CssClass="table1 filtered2 bordered" ID="TableDocInOrder" runat="server" Width="100%"
            ClientIDMode="Static">
            <asp:TableHeaderRow>
                <asp:TableHeaderCell></asp:TableHeaderCell>
                <asp:TableHeaderCell></asp:TableHeaderCell>
                <asp:TableHeaderCell>№</asp:TableHeaderCell>
                <asp:TableHeaderCell>Фамилия Имя Отчество</asp:TableHeaderCell>
                <asp:TableHeaderCell>Должность</asp:TableHeaderCell>
                <asp:TableHeaderCell>Место работы</asp:TableHeaderCell>
            </asp:TableHeaderRow>
        </asp:Table>
        <br />
        <asp:Button ID="btnSave" runat="server" Text="Сохранить" 
            onclick="btnSave_Click" style="text-align: center" />
        <asp:Button ID="btnCancel" runat="server" Text="Отмена" 
            style="text-align: center" />
        <asp:HiddenField ID="hfDocInOrder" runat="server" ClientIDMode="Static" />
    </asp:Panel>
</form>
</body>